package com.moon.interface_api.constansts;

 
/**
 * 
* @ClassName: MsgConstants
* @Description: 常量
* @author fenglu
* @date 2017年12月4日 下午4:08:26
*
 */
public class MsgConstants {
	
//	public static final String PRE = "http://";
	
	//测试环境
//	public static final String HOST = "test.biedese.cn";
//	public static final String HOST = "xjd.biedese.cn"; 
	
	//正式环境
//	public static final String HOST = "xjd.hjriches.com";
	//域名
//	public static final String HOST = "xunjiedai-8020-test.ichile.com.cn:81";
	//项目名
//	public static final String PROJECT_NAME = "/xjd";
//	public static final String URL = "/xunjiedai-api/images/avatar/";
	
	//测试环境
//	public static final String URL = "/xjd/images/avatar/";
	
	//正式环境  头像
	public static final String AVATAR_URL = "/images/avatar/";
	
	//意见反馈
	public static final String IDEA_URL = "/images/idea/";
	
	//身份证
	public static final String CARD_URL = "/images/card/";
	
	//公积金
	public static final String GJJ_URL = "/images/gjj/";
	
	/**
	 * 账单
	 */
	public static final String ZHANGDAN_URL = "/images/zhangdan/";
	
	//公积金认证
	public static final String GJJ_AUTH = "100003";
	
	public static final String PREFIX = "user_";
	
	public static final String PREFIX_LOGIN = "login_";
	
	public static final String PREFIX_REGISTER = "register_";
	
	public static final String PREFIX_UPDATE = "update_";
	
	public static final String PREFIX_BANK_CODE = "bankcode_";
	
	public static final String PREFIX_TIXIAN_CODE = "tixiancode_";
	
	public static final String PRODUCT_CODE = "xunjiedai";
	
	public static final String SUCCESS_CODE = "100000";
	
	public static final String FAILURE_CODE = "200000";

	public static final String SUCCESS = "success";
	
	public static final String FAILURE = "failure";
	
	
	public static final String QQ = "qq";
	
	public static final String WEIXIN = "wechat";
	
	public static final String WEIXBO = "weibo";
	
	
	/**
	 * 短信发送返回code
	 */
	public static final String RAM_PERMISSION_DENY = "200001";
	
	public static final String OUT_OF_SERVICE = "200002";
	
	public static final String PRODUCT_UN_SUBSCRIPT = "200003";
	
	public static final String PRODUCT_UNSUBSCRIBE = "200004";
	
	public static final String ACCOUNT_NOT_EXISTS = "200005";
	
	public static final String ACCOUNT_ABNORMAL = "200006";
	
	public static final String SMS_TEMPLATE_ILLEGAL = "200007";
	
	public static final String SMS_SIGNATURE_ILLEGAL = "200008";
	
	public static final String INVALID_PARAMETERS = "200009";
	
	public static final String SYSTEM_ERROR = "200010";
	
	public static final String MOBILE_NUMBER_ILLEGAL = "200011";
	
	public static final String MOBILE_COUNT_OVER_LIMIT = "200012";
	
	public static final String TEMPLATE_MISSING_PARAMETERS = "200013";
	
	public static final String BUSINESS_LIMIT_CONTROL = "200014";
	
	public static final String INVALID_JSON_PARAM = "200015";
	
	public static final String BLACK_KEY_CONTROL_LIMIT = "200016";
	
	public static final String PARAM_LENGTH_LIMIT = "200017";
	
	public static final String PARAM_NOT_SUPPORT_URL = "200018";
	
	public static final String AMOUNT_NOT_ENOUGH = "200019";
	
	public static final String OTHER = "200020";
	
	/**
	 * 短信发送返回message
	 */
	public static final String MESSAGE_ERROR = "系统错误，请与客服联系";
	
	public static final String MESSAGE_YICHANG = "系统异常，请稍后重试";
	
	public static final String MESSAGE_PHONE = "手机号格式不正确";
	
	
	/**
	 * 参数为空 code
	 */
	public static final String PARAMETER_IS_EMPTY_STATUS = "300001";
	/**
	 * 参数为空
	 */
	public static final String PARAMETER_IS_EMPTY = "参数为空";
	
	/**
	 * token为空 code
	 */
	public static final String TOKEN_IS_EMPTY_STATUS = "300002";
	/**
	 * token为空 
	 */
	public static final String TOKEN_IS_EMPTY = "token为空";
	
	/**
	 * 参数有误 code
	 */
	public static final String PARAM_CODE = "300003";
	/**
	 * 参数有误
	 */
	public static final String PARAM_MESSAGE = "参数有误";
	
	
	/**
	 * 登录失效  code
	 */
	public static final String LOGIN_INVALID_STATUS = "400001";
	/**
	 * 登录失效 
	 */
	public static final String LOGIN_INVALID = "登录失效";
	
	/**
	 * 验证码  code
	 */
	public static final String ERROR_CODE = "400002";
	/**
	 * 验证码
	 */
	public static final String ERROR = "验证码有误";
	
	
	/**
	 * 昵称已经存在  code
	 */
	public static final String IS_EXIST_NAME_STATUS = "500001";
	/**
	 * 昵称已经存在 
	 */
	public static final String IS_EXIST_NAME = "该昵称已经存在";
	
	/**
	 * 用户名  code
	 */
	public static final String USERNAME_ERROR_CODE = "500002";
	/**
	 * 用户名有误 
	 */
	public static final String USERNAME_ERROR = "用户名输入格式有误";
	
	/**
	 * 非法字符  code
	 */
	public static final String FEIFA_CODE = "500003";
	/**
	 * 非法字符 
	 */
	public static final String FEIFA_ERROR = "昵称存在非法字符";
	
	/**
	 * 性别  code
	 */
	public static final String SEX_CODE = "500004";
	/**
	 * 性别有误 
	 */
	public static final String SEX_ERROE = "性别输入有误";
	
	/**
	 * 手机号码已经存在  code
	 */
	public static final String IS_EXIST_PHONE_STATUS = "500005";
	/**
	 * 手机号码已经存在 
	 */
	public static final String IS_EXIST_PHONE = "该手机号码已经存在";
	
	/**
	 * 职业  code
	 */
	public static final String JOB_CODE = "500008";
	/**
	 * 职业 
	 */
	public static final String JOB_ERROR = "职业输入格式有误，应为0～100位字符串";
	
	/**
	 * 原手机号码输入错误  code
	 */
	public static final String OLD_PHONE_CODE = "500009";
	/**
	 * 原手机号码输入错误 
	 */
	public static final String OLD_PHONE_ERROR = "原手机号码输入错误";
	
	/**
	 * 新手机号码输入错误  code
	 */
	public static final String NEW_PHONE_CODE = "500010";
	/**
	 * 新手机号码输入错误 
	 */
	public static final String NEW_PHONE_ERROR = "新手机号码输入错误";
	
	/**
	 * 手机号码输入错误  code
	 */
	public static final String PHONE_CODE = "500010";
	/**
	 * 手机号码输入错误 
	 */
	public static final String PHONE_ERROR = "手机号码输入错误";
	
	
	/**
	 * 文件为空 code
	 */
	public static final String FILE_IS_EMPTY_STATUS = "800001";
	/**
	 * 文件为空 ，未上传
	 */
	public static final String FILE_IS_EMPTY = "文件未上传";
	
	/**
	 * 访问限制 code
	 */
	public static final String VISIT_ERROR = "900001";
	/**
	 * 访问限制提示
	 */
	public static final String VISIT_MESSAGE = "您访问的太频繁了，请稍后再试";
	
	/**
	 * request请求 code
	 */
	public static final String REQUEST_ERROR = "900002";
	/**
	 * request请求
	 */
	public static final String REQUEST_MESSAGE = "请求有误";
	
	/**
	 * 限制注解配置 code
	 */
	public static final String LIMIT_ERROR = "900003";
	/**
	 * 限制注解
	 */
	public static final String LIMIT_MESSAGE = "未配置注解";
	
	
	/**
	 * 绑定手机号 code
	 */
	public static final String BOUND_STSTUS = "110000";
	/**
	 * 绑定手机号
	 */
	public static final String BOUND_MESSAGE = "请绑定手机号";
	
	/**
	 * 绑定成功 code
	 */
	public static final String BOUND_SUCCESS_CODE = "110001";
	
	/**
	 * 绑定成功
	 */
	public static final String BOUND_SUCCESS_MESSAGE = "绑定成功";
	
	/**
	 * 已经绑定 code
	 */
	public static final String BOUND_EXIST_CODE = "110002";
	
	/**
	 * 已经绑定
	 */
	public static final String BOUND_EXIST_MESSAGE = "已绑定过";
	
	/**
	 * 运营商认证  查询结果
	 */
	public static final String OPERATOR_APPCODE = "0112d674c2e84109bcdf6e76e7ff1eb7";
	
	public static final int OPERATOR_1 = 1;
	
	public static final int OPERATOR_2 = 2;
	
	public static final int OPERATOR_0 = 0;
	
	public static final int OPERATOR_11 = 11;
	
	public static final int OPERATOR_20 = 20;
	
	public static final String OPERATOR_1_MESSAGE = "一致";
	
	public static final String OPERATOR_2_MESSAGE = "信息不一致";
	
	public static final String OPERATOR_0_MESSAGE = "查不到结果";
	
	public static final String OPERATOR_11_MESSAGE = "参数不正确";
	
	public static final String OPERATOR_20_MESSAGE = "运营商系统维护中";
	
	
	/**
	 * 信用卡认证 
	 */
	public static final String CARD_TYPE = "贷记卡";
	
	public static final String CARD_APPCODE = "0112d674c2e84109bcdf6e76e7ff1eb7";
	
	public static final String CARD_01 = "01";
	
	public static final String CARD_02 = "02";
	
	public static final String CARD_202 = "202";
	
	public static final String CARD_203 = "203";
	
	public static final String CARD_204 = "204";
	
	public static final String CARD_205 = "205";
	
	public static final String CARD_206 = "206";
	
	public static final String CARD_01_MESSAGE = "验证通过";
	
	public static final String CARD_02_MESSAGE = "验证不通过";
	
	public static final String CARD_202_MESSAGE = "无法验证";
	
	public static final String CARD_203_MESSAGE = "异常情况";
	
	public static final String CARD_204_MESSAGE = "姓名错误";
	
	public static final String CARD_205_MESSAGE = "身份证号错误";
	
	public static final String CARD_206_MESSAGE = "银行卡号错误";
	
	public static final String CARD_ERROR = "银行卡号类型有误，请使用信用卡";
	
	
	/**
	 * 贷款申请提示
	 */
	public static final String LOAN_FAILURE_MESSAGE = "已申请过该产品";
	
	
	/**
	 * 认证未完成
	 */
	public static final String AUTH_FAILURE_CODE = "600001";
	
	public static final String AUTH_FAILURE_MESSAGE = "您的认证还未完成，请先完成认证，再进行贷款申请";
	
	/**
	 * 暂无数据
	 */
	public static final String NO_DATA = "暂无数据";
	
	/**
	 * 代付接口   测试环境
	 */
//	public static final String PAY_URL = "http://192.168.8.30:6020/pay/order/add";
	
	//正式环境
	public static final String PAY_URL = "http://xjd.hjriches.com/daifu/pay/order/add";
	
	/**
	 * 商户id
	 */
	public static final String MCT_ID = "6000001773163576";
	
	/**
	 * 提现失败
	 */
	public static final String TIXIAN_MESSAGE = "提现失败";
	
	/**
	 * 账户异常
	 */
	public static final String ZHANGHU_ERROR_MESSAGE = "账户异常，请联系客服";
	
	/**
	 * 提现成功的code
	 */
	public static final String TIXIAN_SCUUESS_CODE = "001";

	/**
	 * 有效天数
	 */
	public static final int VALID_DAYS = 3;
	
	/**
	 * 贷款返利类型
	 */
	public static final int DAIKUAIFANLI = 1;
	
	public static final int FENXIANGHONGBAO = 2;
	
	public static final int FENXIANGZHUCE = 3;

	public static final int FENXIANGFANLI = 4;
	
	public static final int TIXIAN = 5;
	
	public static final String SHOUXUFEI = "1";
	
	/**
	 * 产品不存在
	 */
	public static final String NOT_PRODUCT = "产品不存在";
	
//	/**
//	 * 红包分享地址
//	 */
//	public static final String SHAREHONGBAO_URL = "http://";
	
	/**
	 * 是否新用户
	 */
	public static final String NOT_NEW_CODE = "210000";
	
	public static final String NOT_NEW_USER = "您不是新用户，无法领取该红包";
	
	/**
	 * 红包领取完毕
	 */
	public static final String HONGBAO_NULL_CODE = "220000";
	
	public static final String HONGBAO_NULL_MESSAGE = "红包已领完";
	
	
	/**
	 * 推荐专区id
	 */
	public static final long SECTION_ID = 1;
	
	/**
	 * 商户首页推荐专区id
	 */
	public static final long MCT_SECTION_ID = 1;
	
	
	public static final String DAIKUAIFANLI_IMAGE_NAME = "fanli.png";
	
	public static final String FENXIANGHONGBAO_IMAGE_NAME = "fenxiang.png";
	
	public static final String FENXIANGZHUCE_IMAGE_NAME = "haoyou.png";

	public static final String FENXIANGFANLI_IMAGE_NAME = "fanli.png";
	
	public static final String TIXIAN_IMAGE_NAME = "tixian.png";

	/**
	 * 用户信息校验
	 */

	public static final String CHECK_INFO_301 = "301";
	public static final String CHECK_INFO_301_MESSAGE = "商业保险编号不匹配";
	public static final String CHECK_INFO_302 = "302";
	public static final String CHECK_INFO_302_MESSAGE = "汽车编号不匹配";
	public static final String CHECK_INFO_303 = "303";
	public static final String CHECK_INFO_303_MESSAGE = "学历编号不匹配";
	public static final String CHECK_INFO_304 = "304";
	public static final String CHECK_INFO_304_MESSAGE = "公积金编号不匹配";
	public static final String CHECK_INFO_305 = "305";
	public static final String CHECK_INFO_305_MESSAGE = "房产编号不匹配";
	public static final String CHECK_INFO_306 = "306";
	public static final String CHECK_INFO_306_MESSAGE = "工资级别编号不匹配";
	public static final String CHECK_INFO_307 = "307";
	public static final String CHECK_INFO_307_MESSAGE = "工资类型编号不匹配";
	public static final String CHECK_INFO_308= "308";
	public static final String CHECK_INFO_308_MESSAGE = "社保编号不匹配";
	public static final String CHECK_INFO_309 = "309";
	public static final String CHECK_INFO_309_MESSAGE = "工号不匹配";
	public static final String CHECK_INFO_310 = "310";
	public static final String CHECK_INFO_310_MESSAGE = "信息未填写完整";
	public static final String CHECK_INFO_311 = "311";
	public static final String CHECK_INFO_311_MESSAGE = "token不能为空";
	
	//登陆状态保持时间，token存活时间
	public static final long TOKEN_LIVE_TIME = 60*60*24*30;

}
